﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="caixa_listar.aspx.cs" Inherits="softsales.pagina.caixa.caixa_listar" %>
<%@ MasterType VirtualPath="~/Site.Master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Cabecalho" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ConteudoPrincipal" runat="server">


	<div class="inner-page-title">
				<h2><asp:Label ID="LBL_TITULO_PAGINA" runat="server" Text="TB_CAIXA"></asp:Label></h2>
					
				</div>	

   <div class="content-box">
<div class="softsales-form-linha">
<div class="float-left">
    <asp:Button ID="BTN_INCLUIR" 
        CssClass="botao-incluir" 
        runat="server" Text="Incluir" />
    </div>
<div class="float-right">

<div class="filtro">
    <asp:DropDownList ID="DDL_FILTRO" runat="server">
    </asp:DropDownList>
    <asp:TextBox ID="TXT_PESQUISAR" CssClass="campo-text"  runat="server"></asp:TextBox>
        <asp:ImageButton ID="IMG_BTN_PESQUISAR" runat="server" 
        ImageUrl="~/images/icons/search.gif" onclick="IMG_BTN_PESQUISAR_Click" 
/>

</div>
</div>
<div class="clear"></div>
</div>

</div>
<div class="softsales-tabela">
 <asp:GridView ID="GRV_TB_CAIXA" runat="server" onsorting="GRV_TB_CAIXA_Sorting" AllowSorting="True" 
        onpageindexchanging="GRV_TB_CAIXA_PageIndexChanging" AutoGenerateColumns="False" DataKeyNames="id">	  
	<HeaderStyle CssClass="headerGridView" />
	<RowStyle CssClass="itemGridView" />
   	<PagerStyle CssClass="pagerGridView"  />
	<FooterStyle CssClass="footerGridView" />
        <Columns>          
			
				<asp:BoundField DataField="id" HeaderText="ID" 
                SortExpression="id"  />											
				<asp:BoundField DataField="id_empresa" HeaderText="ID_EMPRESA" 
                SortExpression="id_empresa"  />											
				<asp:BoundField DataField="id_banco_conta_corrente" HeaderText="ID_BANCO_CONTA_CORRENTE" 
                SortExpression="id_banco_conta_corrente"  />											
				<asp:BoundField DataField="id_centro_custo" HeaderText="ID_CENTRO_CUSTO" 
                SortExpression="id_centro_custo"  />											
				<asp:BoundField DataField="id_conta_contabil" HeaderText="ID_CONTA_CONTABIL" 
                SortExpression="id_conta_contabil"  />											
				<asp:BoundField DataField="id_origem" HeaderText="ID_ORIGEM" 
                SortExpression="id_origem"  />											
				<asp:BoundField DataField="num_duplicata" HeaderText="NUM_DUPLICATA" 
                SortExpression="num_duplicata"  />											
				<asp:BoundField DataField="num_cheque" HeaderText="NUM_CHEQUE" 
                SortExpression="num_cheque"  />											
				<asp:BoundField DataField="documento" HeaderText="DOCUMENTO" 
                SortExpression="documento"  />											
				<asp:BoundField DataField="descricao" HeaderText="DESCRICAO" 
                SortExpression="descricao"  />											
				<asp:BoundField DataField="valor_entrada" HeaderText="VALOR_ENTRADA" 
                SortExpression="valor_entrada"  />											
				<asp:BoundField DataField="valor_saida" HeaderText="VALOR_SAIDA" 
                SortExpression="valor_saida"  />											
				<asp:BoundField DataField="dt_emissao" HeaderText="DT_EMISSAO" 
                SortExpression="dt_emissao"  />											
				<asp:BoundField DataField="id_usuario" HeaderText="ID_USUARIO" 
                SortExpression="id_usuario"  />											
            
            <asp:TemplateField>
                <ItemTemplate>
                    <asp:ImageButton ID="IMG_BTN_EDITAR" runat="server" 
                        ImageUrl="~/images/icons/action_edit.gif"  onclick="IMG_BTN_EDITAR_Click"   />
                    &nbsp;<asp:ImageButton ID="IMG_BTN_EXCLUIR" runat="server" ImageUrl="~/images/icons/action_delete.gif"  onclick="IMG_BTN_EXCLUIR_Click"    />
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
	
	    </div>

    <div class="softsales-form-navegacao">
    <div class="float-left">
        <asp:Label ID="Label3" runat="server" Text="P?gina: "></asp:Label>
        <asp:Label ID="LBL_PAGINA_ATUAL" runat="server" Text=""></asp:Label>
        <asp:Label ID="Label4" runat="server" Text=" de  "></asp:Label>
        <asp:Label ID="LBL_PAGINA_TOTAL" runat="server" Text="LBL_PAGINA_TOTAL"></asp:Label>
    </div>
    <div class="float-right">
        <table>
        <tr>
        <td>
        <asp:ImageButton ID="IMG_BTN_PRIMEIRO" runat="server" 
            ImageUrl="~/images/icons/first.gif" onclick="IMG_BTN_PRIMEIRO_Click" />
            </td>
            <td>
        <asp:ImageButton ID="IMG_BTN_ANTERIOR" runat="server" 
            ImageUrl="~/images/icons/previous.gif" onclick="IMG_BTN_ANTERIOR_Click" />
            </td>
            <td>
        <asp:ImageButton ID="IMG_BTN_PROXIMO" runat="server" 
            ImageUrl="~/images/icons/forward.gif" onclick="IMG_BTN_PROXIMO_Click" />
            </td>
            <td>
        <asp:ImageButton ID="IMG_BTN_ULTIMO" runat="server" 
            ImageUrl="~/images/icons/last.gif" onclick="IMG_BTN_ULTIMO_Click" />
            </td>
            </tr>
            </table>
    </div>
    <div class="clear"></div>

    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ConteudoEsquerda" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ConteudoDireita" runat="server">
</asp:Content>
